package com.lglin.bean.product.entity;

import com.lglin.common.bean.Picture;
import com.lglin.common.bean.Review;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Product {
    private int id;
    private String name;
    private int num;
    private double oldPrice;
    private double newPrice;
    private String briefIntro;
    private String detail;
    private int stock;
    private boolean isNew;
    private List<Picture> pics = new ArrayList<>(4);
    private List<Review> reviews=new ArrayList<>();
}
